package com.xjy.system.domain.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import javax.validation.constraints.*;


import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 结账数据信息添加对象 sys_close_data
 *
 * @author xjy
 * @date 2022-03-10
 */
@Data
@ApiModel("结账数据信息添加对象")
public class SysCloseDataAddBo {


	@ApiModelProperty("项目id")
	@NotNull(message = "项目id不能为空")
	private Long projId;

	@ApiModelProperty("合同ID")
	@NotNull(message = "合同ID不能为空")
	private Long contractId;

	@ApiModelProperty("合同结算项目ID")
	@NotNull(message = "合同结算项目ID不能为空")
	private Long resultProjId;

	@ApiModelProperty("费用结余")
	@NotNull(message = "费用结余不能为空")
	private BigDecimal surplusAmt;

	@ApiModelProperty("结账时间起点")
	@NotNull(message = "结账时间起点不能为空")
	private Date closeStartTime;

	@ApiModelProperty("结账时间终点")
	@NotNull(message = "结账时间终点不能为空")
	private Date closeEndTime;

	@ApiModelProperty("结账时间")
	@NotNull(message = "结账时间不能为空")
	private Date closeTime;

	@ApiModelProperty("修改时间")
	private Date updateTime;

	@ApiModelProperty("操作人")
	@NotBlank(message = "操作人不能为空")
	private String operator;

	@ApiModelProperty("操作人员ID")
	@NotNull(message = "操作人员ID不能为空")
	private Long operatorId;
}
